﻿ALTER TABLE [dbo].[TemplateScalarProperties] ADD
CONSTRAINT [FK_TemplateScalarProperties_TemplateComponents] FOREIGN KEY ([ComponentId]) REFERENCES [dbo].[TemplateComponents] ([ComponentId]) ON DELETE CASCADE


